<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>PHP 归档</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="wrappers.glob.html">glob://</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="wrappers.ssh2.html">ssh2://</a></div>
 <div class="up"><a href="wrappers.html">支持的协议和封装协议</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="wrappers.phar" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">phar://</h1>
  <p class="refpurpose"><span class="refname">phar://</span> &mdash; <span class="dc-title">PHP 归档</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-wrappers.phar-description">
  <h3 class="title">说明</h3>
  <p class="simpara">
   <var class="filename">phar://</var> 数据流包装器自
   PHP 5.3.0 起开始有效。详细的描述可参见 <a href="phar.using.stream.html" class="link">Phar 数据流包装器</a>。
  </p>
 </div>


 <div class="refsect1 usage" id="refsect1-wrappers.phar-usage"> 
  <h3 class="title">可选项</h3>
  <ul class="itemizedlist">
   <li class="listitem"><span class="simpara"><var class="filename">phar://</var></span></li>
  </ul>
 </div>
 

 <div class="refsect1 options" id="refsect1-wrappers.phar-options">
  <h3 class="title">可选项</h3>
  <p class="para">
   <table class="doctable table">
    <caption><strong>封装协议摘要</strong></caption>
    
     <thead>
      <tr>
       <th>属性</th>
       <th>支持</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>支持 <a href="filesystem.configuration.html#ini.allow-url-fopen" class="link">allow_url_fopen</a></td>
       <td>No</td>
      </tr>

      <tr>
       <td>支持 <a href="filesystem.configuration.html#ini.allow-url-include" class="link">allow_url_include</a></td>
       <td>No</td>
      </tr>

      <tr>
       <td>允许读取</td>
       <td>Yes</td>
      </tr>

      <tr>
       <td>允许写入</td>
       <td>Yes</td>
      </tr>

      <tr>
       <td>允许附加</td>
       <td>No</td>
      </tr>

      <tr>
       <td>允许同时读写</td>
       <td>Yes</td>
      </tr>

      <tr>
       <td>支持 <span class="function"><a href="function.stat.html" class="function">stat()</a></span></td>
       <td>Yes</td>
      </tr>

      <tr>
       <td>支持 <span class="function"><a href="function.unlink.html" class="function">unlink()</a></span></td>
       <td>Yes</td>
      </tr>

      <tr>
       <td>支持 <span class="function"><a href="function.rename.html" class="function">rename()</a></span></td>
       <td>Yes</td>
      </tr>

      <tr>
       <td>支持 <span class="function"><a href="function.mkdir.html" class="function">mkdir()</a></span></td>
       <td>Yes</td>
      </tr>

      <tr>
       <td>支持 <span class="function"><a href="function.rmdir.html" class="function">rmdir()</a></span></td>
       <td>Yes</td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>
 

 <div class="refsect1 seealso" id="refsect1-wrappers.phar-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member"><a href="context.phar.html" class="xref">Phar 上下文（context）选项</a></li>
  </ul>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="wrappers.glob.html">glob://</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="wrappers.ssh2.html">ssh2://</a></div>
 <div class="up"><a href="wrappers.html">支持的协议和封装协议</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
